package com.homedo.odin.solution.model.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.homedo.odin.solution.model.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.List;
import lombok.Data;


@ApiModel(description = "树状结构")
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class Tree extends BaseBean {

    @ApiModelProperty("ParentLevelName")
    private String parentLevelName;

    @ApiModelProperty("GrendParentLevelName")
    private String grendParentLevelName;

    @ApiModelProperty("levelName")
    private String levelName;

    /**
     * 清单编号
     */
    @ApiModelProperty("清单编号")
    private Integer listId;

    /**
     * 产品名称
     */
    @ApiModelProperty("产品名称")
    private String productName;
    /**
     * 型号
     */
    @ApiModelProperty("型号")
    private String model;
    /**
     * 品牌
     */
    @ApiModelProperty("品牌")
    private String brand;
    /**
     * sku 编号
     */
    @ApiModelProperty("sku 编号")
    private String skuId;
    /**
     * 数量
     */
    @ApiModelProperty("数量")
    private String amount;
    /**
     * 参考价
     */
    @ApiModelProperty("参考价")
    private String price;

    @ApiModelProperty("单位")
    private String unit;

    @ApiModelProperty("child")
    private List<Tree> child;
}
